<div class="page">
	<div class="layoutBox">

	<form method="post" action="__URL__/insert/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxMenu)">
		<input type="hidden" name="level" value="{$level}">
		<input type="hidden" name="pid" value="{$pid}">
		<div class="pageFormContent" layoutH="100">
			<div class="unit">
				<label><eq name="level" value="1">应用</eq><eq name="level" value="2">模块</eq><eq name="level" value="3">操作</eq>名：</label>
				<input  name="name" type="text" class="required alphanumeric" size="40">
			</div>
			
			<div class="unit">
				<label>显示名：</label>
				<input   name="title" type="text" class="required" size="40">
			</div>
            
			<eq name="level" value="2">
			<div class="unit">
				<label>大菜单分组：</label>
				<SELECT name="group_id" class="required">
                	<option value="0">未分组</option>
                    <volist name="Think.config.ADMIN_BMENU" id="val">
                    <option value="{$key}" <eq name="i" value="1">selected</eq>>{$val}</option>
                    </volist>
				</SELECT>
			</div>

			<div class="unit">
				<label>模型：</label>
				<label><input type="checkbox" align="absbottom" name="is_model" value="1" onclick="copy_tableDiv.style.display=(!!this.checked)?'':'none'" checked />是模型</label>
			</div>
			<div class="unit" id="copy_tableDiv">
                <label>复制表结构：</label>
                <select name="copy_table" id="copy_table">
                <?php echo PrintOption('',':-请选择-,Article_文章:文章表,Photo_图片:图片表,Video_视频:视频表,Music_音乐:音乐表'); ?>
                </select>
                <span>复制后还可以修改</span>
			</div>
			</eq>

			<div class="unit">
				<label>状态：</label>
				<SELECT name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</SELECT>
			</div>
			<div class="unit">
				<label>序号：</label>
				<input name="sort" type="text" size="40" value="0">
			</div>
			<div class="unit">
				<label>描 述：</label>
				<TEXTAREA name="remark"  rows="2" cols="50"></textarea>
			</div>
		</div>
		
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>

